<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<jsp:include page="${baseURL }/common/taglib/taglib.jsp"/>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>龙果支付后台</title>
    <script src="${baseURL }/dwz/js/jquery-1.11.3.min.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="${baseURL }/dwz/themes/css/login.css"/>
    <script type="text/javascript" language="javascript" src="${baseURL }/common/js/login/login.js"></script>
</head>

<body>
<div id="login">
    <div id="login_header">
        <h1 class="login_logo">
            <a href="http://demo.dwzjs.com">
                <img src="${baseURL }/dwz/themes/default/images/login_logo1.png"/>
            </a>
        </h1>
        <div class="login_headerContent">
            <div class="navList">
                <ul>
                    <li>
                        <a href="#">设为首页</a>
                    </li>
                </ul>
            </div>
            <h2 class="login_title">
                <img src="${baseURL }/dwz/themes/default/images/login_title.png"/>
            </h2>
        </div>
    </div>
    <div id="login_content">
        <div class="loginForm">
            <form id="form1" action="${baseURL }/login" method="post">
                <div style="color: red; padding-left: 80px; padding-bottom: 10px;">${message}</div>
                <div class="login_user">
                    <ul>
                        <li>
                            <label>帐&nbsp;&nbsp;&nbsp;&nbsp;号：</label>
                        </li>
                        <li>
                            <input type="text" name="loginName" size="18" class="login_input"/>
                        </li>
                    </ul>
                    <ul>
                        <li>
                            <label>密&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
                        </li>
                        <li>
                            <input type="password" name="roncooPwd" size="18" class="login_input"/>
                        </li>
                    </ul>
                </div>
                <c:if test="${captchaEbabled}">
                    <div class="login_code">
                        <ul>
                            <li>
                                <label>验证码：</label>
                            </li>
                            <li class="input_code">
                                <input id="code" name="captchaCode" size="6"/>
                            </li>

                            <li>
									<span> <img class="rcCaptcha-btn rcCaptcha-img" src="${baseURL}/rcCaptcha.jpg"
                                                alt="点击更换验证码" title="点击更换验证码" width="65" height="24"/>
									</span>
                            </li>
                        </ul>
                    </div>
                </c:if>
                <div class="login_bar">
                    <input class="sub" type="submit" value=" "/>
                </div>
            </form>


        </div>
        <div class="login_banner">
            <img src="${baseURL }/dwz/themes/default/images/login_banner.jpg"/>
        </div>
        <div class="login_main">
            <ul class="helpList">
            </ul>
            <div class="login_inner"></div>
        </div>
    </div>
    <div id="login_footer">
        <span id="login_footer_text"></span>
        <a href="http://www.roncoo.net" target="_blank">龙果支付</a>
    </div>
</div>

<script>
    $(function () {
        $("#login_footer_text").text("Copyright © 2015-" + new Date().getFullYear());

        $(".rcCaptcha-btn").click(
            function () {
                $(".rcCaptcha-img").attr(
                    "src",
                    '${baseURL}/rcCaptcha.jsp?'
                    + new Date().getTime());
            });
    })
</script>
</body>
</html>